package com.xh.jf_blog.mapper;

import com.xh.jf_blog.bean.Article;

import java.util.List;

public interface ArticleMapper {
    int deleteByPrimaryKey(Integer articleId);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer articleId);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKey(Article record);

    List<Article> getAll(Article article);

    Article getById(Integer articleId);

    List<Article> getHotList();

    int updateReadCount(Integer articleId);
}
